package com.guilin.domain;

import com.guilin.common.annotation.Excel;
import com.guilin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 论坛主题回复对象 forum_reply
 * 
 * @author xiaoqi
 * @date 2025-06-20
 */
public class ForumReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 关联的主题 */
    @Excel(name = "关联的主题")
    private Long threadId;

    /** 校友 */
    @Excel(name = "校友")
    private Long alumniId;

    /** 管理员 */
    @Excel(name = "管理员")
    private Long adminId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 父回复 */
    @Excel(name = "父回复")
    private Long parentId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setThreadId(Long threadId) 
    {
        this.threadId = threadId;
    }

    public Long getThreadId() 
    {
        return threadId;
    }

    public void setAlumniId(Long alumniId) 
    {
        this.alumniId = alumniId;
    }

    public Long getAlumniId() 
    {
        return alumniId;
    }

    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setLikeCount(Long likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount() 
    {
        return likeCount;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("threadId", getThreadId())
            .append("alumniId", getAlumniId())
            .append("adminId", getAdminId())
            .append("content", getContent())
            .append("likeCount", getLikeCount())
            .append("parentId", getParentId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
